package com.contest.dao;


import com.baomidou.mybatisplus.plugins.Page;
import com.contest.entity.SysRoleMenu;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author yfl
 * @since 2017-12-20 16:26:23
 */
public interface  SysRoleMenuDao extends BaseMapper<SysRoleMenu> {

    List<SysRoleMenu> listByPage(@Param("start") int start,@Param("rows") int rows,@Param("param") Map<String,Object> param);

    int queryTotal(@Param("param")Map<String,Object> param);
}